package com.feng;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @description:
 * @author: lrf
 * @create: 2019-09-04
 **/
public class Main {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext(AwreaConfig.class);

        AwreaService awreaService = context.getBean(AwreaService.class);

        awreaService.outputResult();

        context.close();
    }
}
